<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title id="head-title">report2025_06_22_11_27_52.html</title>
      <style type="text/css">body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  /* do not increase min-width as some may use split screens */
  min-width: 800px;
  color: #999;
}

h1 {
  font-size: 24px;
  color: black;
}

h2 {
  font-size: 16px;
  color: black;
}

p {
  color: black;
}

a {
  color: #999;
}

table {
  border-collapse: collapse;
}

/******************************
 * SUMMARY INFORMATION
 ******************************/
#environment td {
  padding: 5px;
  border: 1px solid #e6e6e6;
  vertical-align: top;
}
#environment tr:nth-child(odd) {
  background-color: #f6f6f6;
}
#environment ul {
  margin: 0;
  padding: 0 20px;
}

/******************************
 * TEST RESULT COLORS
 ******************************/
span.passed,
.passed .col-result {
  color: green;
}

span.skipped,
span.xfailed,
span.rerun,
.skipped .col-result,
.xfailed .col-result,
.rerun .col-result {
  color: orange;
}

span.error,
span.failed,
span.xpassed,
.error .col-result,
.failed .col-result,
.xpassed .col-result {
  color: red;
}

.col-links__extra {
  margin-right: 3px;
}

/******************************
 * RESULTS TABLE
 *
 * 1. Table Layout
 * 2. Extra
 * 3. Sorting items
 *
 ******************************/
/*------------------
 * 1. Table Layout
 *------------------*/
#results-table {
  border: 1px solid #e6e6e6;
  color: #999;
  font-size: 12px;
  width: 100%;
}
#results-table th,
#results-table td {
  padding: 5px;
  border: 1px solid #e6e6e6;
  text-align: left;
}
#results-table th {
  font-weight: bold;
}

/*------------------
 * 2. Extra
 *------------------*/
.logwrapper {
  max-height: 230px;
  overflow-y: scroll;
  background-color: #e6e6e6;
}
.logwrapper.expanded {
  max-height: none;
}
.logwrapper.expanded .logexpander:after {
  content: "collapse [-]";
}
.logwrapper .logexpander {
  z-index: 1;
  position: sticky;
  top: 10px;
  width: max-content;
  border: 1px solid;
  border-radius: 3px;
  padding: 5px 7px;
  margin: 10px 0 10px calc(100% - 80px);
  cursor: pointer;
  background-color: #e6e6e6;
}
.logwrapper .logexpander:after {
  content: "expand [+]";
}
.logwrapper .logexpander:hover {
  color: #000;
  border-color: #000;
}
.logwrapper .log {
  min-height: 40px;
  position: relative;
  top: -50px;
  height: calc(100% + 50px);
  border: 1px solid #e6e6e6;
  color: black;
  display: block;
  font-family: "Courier New", Courier, monospace;
  padding: 5px;
  padding-right: 80px;
  white-space: pre-wrap;
}

div.media {
  border: 1px solid #e6e6e6;
  float: right;
  height: 240px;
  margin: 0 5px;
  overflow: hidden;
  width: 320px;
}

.media-container {
  display: grid;
  grid-template-columns: 25px auto 25px;
  align-items: center;
  flex: 1 1;
  overflow: hidden;
  height: 200px;
}

.media-container--fullscreen {
  grid-template-columns: 0px auto 0px;
}

.media-container__nav--right,
.media-container__nav--left {
  text-align: center;
  cursor: pointer;
}

.media-container__viewport {
  cursor: pointer;
  text-align: center;
  height: inherit;
}
.media-container__viewport img,
.media-container__viewport video {
  object-fit: cover;
  width: 100%;
  max-height: 100%;
}

.media__name,
.media__counter {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 0 0 25px;
  align-items: center;
}

.collapsible td:not(.col-links) {
  cursor: pointer;
}
.collapsible td:not(.col-links):hover::after {
  color: #bbb;
  font-style: italic;
  cursor: pointer;
}

.col-result {
  width: 130px;
}
.col-result:hover::after {
  content: " (hide details)";
}

.col-result.collapsed:hover::after {
  content: " (show details)";
}

#environment-header h2:hover::after {
  content: " (hide details)";
  color: #bbb;
  font-style: italic;
  cursor: pointer;
  font-size: 12px;
}

#environment-header.collapsed h2:hover::after {
  content: " (show details)";
  color: #bbb;
  font-style: italic;
  cursor: pointer;
  font-size: 12px;
}

/*------------------
 * 3. Sorting items
 *------------------*/
.sortable {
  cursor: pointer;
}
.sortable.desc:after {
  content: " ";
  position: relative;
  left: 5px;
  bottom: -12.5px;
  border: 10px solid #4caf50;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
}
.sortable.asc:after {
  content: " ";
  position: relative;
  left: 5px;
  bottom: 12.5px;
  border: 10px solid #4caf50;
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hidden, .summary__reload__button.hidden {
  display: none;
}

.summary__data {
  flex: 0 0 550px;
}
.summary__reload {
  flex: 1 1;
  display: flex;
  justify-content: center;
}
.summary__reload__button {
  flex: 0 0 300px;
  display: flex;
  color: white;
  font-weight: bold;
  background-color: #4caf50;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  cursor: pointer;
}
.summary__reload__button:hover {
  background-color: #46a049;
}
.summary__spacer {
  flex: 0 0 550px;
}

.controls {
  display: flex;
  justify-content: space-between;
}

.filters,
.collapse {
  display: flex;
  align-items: center;
}
.filters button,
.collapse button {
  color: #999;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: underline;
}
.filters button:hover,
.collapse button:hover {
  color: #ccc;
}

.filter__label {
  margin-right: 10px;
}

      </style>
    
  </head>
  <body>
    <h1 id="title">report2025_06_22_11_27_52.html</h1>
    <p>Report generated on 22-Jun-2025 at 11:27:57 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a>
        v4.1.1</p>
    <div id="environment-header">
      <h2>Environment</h2>
    </div>
    <table id="environment"></table>
    <!-- TEMPLATES -->
      <template id="template_environment_row">
      <tr>
        <td></td>
        <td></td>
      </tr>
    </template>
    <template id="template_results-table__body--empty">
      <tbody class="results-table-row">
        <tr id="not-found-message">
          <td colspan="4">No results found. Check the filters.</th>
        </tr>
    </template>
    <template id="template_results-table__tbody">
      <tbody class="results-table-row">
        <tr class="collapsible">
        </tr>
        <tr class="extras-row">
          <td class="extra" colspan="4">
            <div class="extraHTML"></div>
            <div class="media">
              <div class="media-container">
                  <div class="media-container__nav--left"><</div>
                  <div class="media-container__viewport">
                    <img src="" />
                    <video controls>
                      <source src="" type="video/mp4">
                    </video>
                  </div>
                  <div class="media-container__nav--right">></div>
                </div>
                <div class="media__name"></div>
                <div class="media__counter"></div>
            </div>
            <div class="logwrapper">
              <div class="logexpander"></div>
              <div class="log"></div>
            </div>
          </td>
        </tr>
      </tbody>
    </template>
    <!-- END TEMPLATES -->
    <div class="summary">
      <div class="summary__data">
        <h2>Summary</h2>
        <div class="additional-summary prefix">
        </div>
        <p class="run-count">28 tests took 00:00:03.</p>
        <p class="filter">(Un)check the boxes to filter the results.</p>
        <div class="summary__reload">
          <div class="summary__reload__button hidden" onclick="location.reload()">
            <div>There are still tests running. <br />Reload this page to get the latest results!</div>
          </div>
        </div>
        <div class="summary__spacer"></div>
        <div class="controls">
          <div class="filters">
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="failed" />
            <span class="failed">5 Failed,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="passed" />
            <span class="passed">23 Passed,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="skipped" disabled/>
            <span class="skipped">0 Skipped,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xfailed" disabled/>
            <span class="xfailed">0 Expected failures,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xpassed" disabled/>
            <span class="xpassed">0 Unexpected passes,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="error" disabled/>
            <span class="error">0 Errors,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="rerun" disabled/>
            <span class="rerun">0 Reruns</span>
          </div>
          <div class="collapse">
            <button id="show_all_details">Show all details</button>&nbsp;/&nbsp;<button id="hide_all_details">Hide all details</button>
          </div>
        </div>
      </div>
      <div class="additional-summary summary">
      </div>
      <div class="additional-summary postfix">
      </div>
    </div>
    <table id="results-table">
      <thead id="results-table-head">
        <tr>
          <th class="sortable" data-column-type="result">Result</th>
          <th class="sortable" data-column-type="testId">Test</th>
          <th class="sortable" data-column-type="duration">Duration</th>
          <th>Links</th>
        </tr>
      </thead>
    </table>
  </body>
  <footer>
    <div id="data-container" data-jsonblob="{&#34;environment&#34;: {&#34;Python&#34;: &#34;3.13.1&#34;, &#34;Platform&#34;: &#34;Windows-11-10.0.26100-SP0&#34;, &#34;Packages&#34;: {&#34;pytest&#34;: &#34;8.4.1&#34;, &#34;pluggy&#34;: &#34;1.6.0&#34;}, &#34;Plugins&#34;: {&#34;html&#34;: &#34;4.1.1&#34;, &#34;metadata&#34;: &#34;3.1.1&#34;}, &#34;JAVA_HOME&#34;: &#34;C:\\Program Files\\Java\\jdk1.8.0_291&#34;}, &#34;tests&#34;: {&#34;testcase/test_admin_search_change_user.py::Test::test_admin_search_user&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_search_change_user.py::Test::test_admin_search_user&#34;, &#34;duration&#34;: &#34;283 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_search_change_user.py::Test::test_admin_search_user&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;283 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;success&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;count&amp;quot;:1,&amp;quot;list&amp;quot;:[{&amp;quot;uid&amp;quot;:34,&amp;quot;real_name&amp;quot;:&amp;quot;\u6b66\u677e&amp;quot;,&amp;quot;birthday&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;card_id&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;mark&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;partner_id&amp;quot;:0,&amp;quot;group_id&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;nickname&amp;quot;:&amp;quot;\u6b66\u677e&amp;quot;,&amp;quot;avatar&amp;quot;:&amp;quot;http:\\/\\/172.31.15.134\\/statics\\/system_images\\/default_avatar.jpeg&amp;quot;,&amp;quot;phone&amp;quot;:&amp;quot;18944556124&amp;quot;,&amp;quot;add_time&amp;quot;:1750322966,&amp;quot;last_time&amp;quot;:0,&amp;quot;now_money&amp;quot;:&amp;quot;4000.00&amp;quot;,&amp;quot;brokerage_price&amp;quot;:&amp;quot;0.00&amp;quot;,&amp;quot;integral&amp;quot;:0,&amp;quot;exp&amp;quot;:&amp;quot;0.00&amp;quot;,&amp;quot;sign_num&amp;quot;:0,&amp;quot;status&amp;quot;:&amp;quot;\u6b63\u5e38&amp;quot;,&amp;quot;level&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;agent_level&amp;quot;:0,&amp;quot;spread_open&amp;quot;:1,&amp;quot;spread_uid&amp;quot;:0,&amp;quot;spread_time&amp;quot;:0,&amp;quot;user_type&amp;quot;:&amp;quot;H5&amp;quot;,&amp;quot;is_promoter&amp;quot;:1,&amp;quot;pay_count&amp;quot;:0,&amp;quot;spread_count&amp;quot;:0,&amp;quot;addres&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;adminid&amp;quot;:0,&amp;quot;login_type&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;record_phone&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;is_money_level&amp;quot;:0,&amp;quot;is_ever_level&amp;quot;:0,&amp;quot;overdue_time&amp;quot;:0,&amp;quot;uniqid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;division_type&amp;quot;:0,&amp;quot;division_status&amp;quot;:0,&amp;quot;is_division&amp;quot;:0,&amp;quot;is_agent&amp;quot;:0,&amp;quot;is_staff&amp;quot;:0,&amp;quot;division_id&amp;quot;:0,&amp;quot;agent_id&amp;quot;:0,&amp;quot;staff_id&amp;quot;:0,&amp;quot;division_percent&amp;quot;:0,&amp;quot;division_change_time&amp;quot;:0,&amp;quot;division_end_time&amp;quot;:0,&amp;quot;division_invite&amp;quot;:0,&amp;quot;is_del&amp;quot;:0,&amp;quot;country&amp;quot;:null,&amp;quot;province&amp;quot;:null,&amp;quot;city&amp;quot;:null,&amp;quot;sex&amp;quot;:&amp;quot;\u4fdd\u5bc6&amp;quot;,&amp;quot;unionid&amp;quot;:null,&amp;quot;openid&amp;quot;:null,&amp;quot;w_user_type&amp;quot;:null,&amp;quot;groupid&amp;quot;:null,&amp;quot;tagid_list&amp;quot;:null,&amp;quot;subscribe&amp;quot;:null,&amp;quot;subscribe_time&amp;quot;:null,&amp;quot;extract_count_price&amp;quot;:0,&amp;quot;spread_uid_nickname&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;vip_name&amp;quot;:false,&amp;quot;labels&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;isMember&amp;quot;:0}]}}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:54.020 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:GET, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: {&amp;#x27;label_id&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;user_type&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;status&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;sex&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;is_promoter&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;country&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;isMember&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;pay_count&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;user_time_type&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;user_time&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;nickname&amp;#x27;: &amp;#x27;18944556124&amp;#x27;, &amp;#x27;province&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;city&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;page&amp;#x27;: 1, &amp;#x27;limit&amp;#x27;: 15, &amp;#x27;level&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;group_id&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;field_key&amp;#x27;: &amp;#x27;phone&amp;#x27;}, body: None\n2025-06-22 11:27:54.301 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;success&amp;quot;,&amp;quot;data&amp;quot;:{&amp;quot;count&amp;quot;:1,&amp;quot;list&amp;quot;:[{&amp;quot;uid&amp;quot;:34,&amp;quot;real_name&amp;quot;:&amp;quot;\u6b66\u677e&amp;quot;,&amp;quot;birthday&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;card_id&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;mark&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;partner_id&amp;quot;:0,&amp;quot;group_id&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;nickname&amp;quot;:&amp;quot;\u6b66\u677e&amp;quot;,&amp;quot;avatar&amp;quot;:&amp;quot;http:\\/\\/172.31.15.134\\/statics\\/system_images\\/default_avatar.jpeg&amp;quot;,&amp;quot;phone&amp;quot;:&amp;quot;18944556124&amp;quot;,&amp;quot;add_time&amp;quot;:1750322966,&amp;quot;last_time&amp;quot;:0,&amp;quot;now_money&amp;quot;:&amp;quot;4000.00&amp;quot;,&amp;quot;brokerage_price&amp;quot;:&amp;quot;0.00&amp;quot;,&amp;quot;integral&amp;quot;:0,&amp;quot;exp&amp;quot;:&amp;quot;0.00&amp;quot;,&amp;quot;sign_num&amp;quot;:0,&amp;quot;status&amp;quot;:&amp;quot;\u6b63\u5e38&amp;quot;,&amp;quot;level&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;agent_level&amp;quot;:0,&amp;quot;spread_open&amp;quot;:1,&amp;quot;spread_uid&amp;quot;:0,&amp;quot;spread_time&amp;quot;:0,&amp;quot;user_type&amp;quot;:&amp;quot;H5&amp;quot;,&amp;quot;is_promoter&amp;quot;:1,&amp;quot;pay_count&amp;quot;:0,&amp;quot;spread_count&amp;quot;:0,&amp;quot;addres&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;adminid&amp;quot;:0,&amp;quot;login_type&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;record_phone&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;is_money_level&amp;quot;:0,&amp;quot;is_ever_level&amp;quot;:0,&amp;quot;overdue_time&amp;quot;:0,&amp;quot;uniqid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;division_type&amp;quot;:0,&amp;quot;division_status&amp;quot;:0,&amp;quot;is_division&amp;quot;:0,&amp;quot;is_agent&amp;quot;:0,&amp;quot;is_staff&amp;quot;:0,&amp;quot;division_id&amp;quot;:0,&amp;quot;agent_id&amp;quot;:0,&amp;quot;staff_id&amp;quot;:0,&amp;quot;division_percent&amp;quot;:0,&amp;quot;division_change_time&amp;quot;:0,&amp;quot;division_end_time&amp;quot;:0,&amp;quot;division_invite&amp;quot;:0,&amp;quot;is_del&amp;quot;:0,&amp;quot;country&amp;quot;:null,&amp;quot;province&amp;quot;:null,&amp;quot;city&amp;quot;:null,&amp;quot;sex&amp;quot;:&amp;quot;\u4fdd\u5bc6&amp;quot;,&amp;quot;unionid&amp;quot;:null,&amp;quot;openid&amp;quot;:null,&amp;quot;w_user_type&amp;quot;:null,&amp;quot;groupid&amp;quot;:null,&amp;quot;tagid_list&amp;quot;:null,&amp;quot;subscribe&amp;quot;:null,&amp;quot;subscribe_time&amp;quot;:null,&amp;quot;extract_count_price&amp;quot;:0,&amp;quot;spread_uid_nickname&amp;quot;:&amp;quot;\u65e0&amp;quot;,&amp;quot;vip_name&amp;quot;:false,&amp;quot;labels&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;isMember&amp;quot;:0}]}}\n&#34;}], &#34;testcase/test_admin_search_change_user.py::Test::test_admin_change_user&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_search_change_user.py::Test::test_admin_change_user&#34;, &#34;duration&#34;: &#34;263 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_search_change_user.py::Test::test_admin_change_user&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;263 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n34\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:54.303 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/34.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: 1, &amp;#x27;money&amp;#x27;: 1000}\n2025-06-22 11:27:54.564 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user.py::test_add_user&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user.py::test_add_user&#34;, &#34;duration&#34;: &#34;89 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user.py::test_add_user&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;89 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;def test_add_user():\n        # \u6784\u9020\u63a5\u53e3\u7684\u884c\u5934\u4f53\n        method = &amp;#x27;POST&amp;#x27;\n        url = &amp;#x27;http://172.31.15.134/adminapi/user/user&amp;#x27;\n        headers = {\n            &amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;,\n            &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;\n        }\n        body = {\n            &amp;#x27;real_name&amp;#x27;: &amp;#x27;\u9648\u767e\u5ddd&amp;#x27;,\n            &amp;#x27;phone&amp;#x27;: &amp;#x27;13899745621&amp;#x27;,\n            &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;,\n            &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;,\n            &amp;#x27;spread_open&amp;#x27;: 1,\n            &amp;#x27;is_promoter&amp;#x27;: 1,\n            &amp;#x27;status&amp;#x27;: 1\n        }\n        # \u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7ed3\u679c\n        response = requests.request(method, url, headers=headers, json=body)\n        print(response.text)\n        # \u5224\u65ad\u7528\u4f8b\u6267\u884c\u7ed3\u679c\n        assert response.status_code == 200\n&amp;gt;       assert response.text.__contains__(&amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;)\nE       assert False\nE        +  where False = &amp;lt;method-wrapper &amp;#x27;__contains__&amp;#x27; of str object at 0x000001B50A1BC4B0&amp;gt;(&amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;)\nE        +    where &amp;lt;method-wrapper &amp;#x27;__contains__&amp;#x27; of str object at 0x000001B50A1BC4B0&amp;gt; = &amp;#x27;{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}&amp;#x27;.__contains__\nE        +      where &amp;#x27;{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}&amp;#x27; = &amp;lt;Response [200]&amp;gt;.text\n\ntestcase\\test_admin_user.py:32: AssertionError\n\n----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user.py::test_search_user&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user.py::test_search_user&#34;, &#34;duration&#34;: &#34;0 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user.py::test_search_user&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;0 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;No log output captured.&#34;}], &#34;testcase/test_admin_user.py::test_change_user_money&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user.py::test_change_user_money&#34;, &#34;duration&#34;: &#34;148 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user.py::test_change_user_money&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;148 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u6b66\\u677e-18944556124-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u6b66\\u677e-18944556124-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;, &#34;duration&#34;: &#34;81 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u6b66\\u677e-18944556124-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;81 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;real_name = &amp;#x27;\u6b66\u677e&amp;#x27;, phone = &amp;#x27;18944556124&amp;#x27;, pwd = &amp;#x27;111111&amp;#x27;, true_pwd = &amp;#x27;111111&amp;#x27;\nexpect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    @pytest.mark.parametrize(&amp;#x27;real_name,phone,pwd,true_pwd,expect_msg&amp;#x27;, read_csv(&amp;#x27;testdata/users.csv&amp;#x27;))\n    def test_add_user(real_name, phone, pwd, true_pwd, expect_msg):\n        # \u6784\u9020\u63a5\u53e3\u7684\u884c\u5934\u4f53\n        api = AddUser(real_name=real_name, phone=phone, pwd=pwd, true_pwd=true_pwd)\n        # \u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7ed3\u679c\n        response = execute_request(api)\n        print(response.text)\n        # \u5224\u65ad\u7528\u4f8b\u6267\u884c\u7ed3\u679c\n&amp;gt;       assert_result(response, 200, expect_msg)\n\ntestcase\\test_admin_user2.py:22: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nresponse = &amp;lt;Response [200]&amp;gt;, status_code = 200, expect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    def assert_result(response, status_code, expect_msg):\n        &amp;quot;&amp;quot;&amp;quot;\u8f93\u5165\u54cd\u5e94,\u9884\u671f\u72b6\u6001\u7801,\u9884\u671f\u54cd\u5e94\u4fe1\u606f,\u65ad\u8a00\u662f\u5426\u7b26\u5408\u9884\u671f&amp;quot;&amp;quot;&amp;quot;\n        assert response.status_code == status_code\n&amp;gt;       assert response.text.__contains__(expect_msg)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nE       AssertionError\n\ntools\\request_utils.py:38: AssertionError\n\n----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:54.885 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u6b66\u677e&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;18944556124&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:54.964 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-18944556125-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-18944556125-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;, &#34;duration&#34;: &#34;87 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-18944556125-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;87 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;real_name = &amp;#x27;\u6797\u51b2&amp;#x27;, phone = &amp;#x27;18944556125&amp;#x27;, pwd = &amp;#x27;111111&amp;#x27;, true_pwd = &amp;#x27;111111&amp;#x27;\nexpect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    @pytest.mark.parametrize(&amp;#x27;real_name,phone,pwd,true_pwd,expect_msg&amp;#x27;, read_csv(&amp;#x27;testdata/users.csv&amp;#x27;))\n    def test_add_user(real_name, phone, pwd, true_pwd, expect_msg):\n        # \u6784\u9020\u63a5\u53e3\u7684\u884c\u5934\u4f53\n        api = AddUser(real_name=real_name, phone=phone, pwd=pwd, true_pwd=true_pwd)\n        # \u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7ed3\u679c\n        response = execute_request(api)\n        print(response.text)\n        # \u5224\u65ad\u7528\u4f8b\u6267\u884c\u7ed3\u679c\n&amp;gt;       assert_result(response, 200, expect_msg)\n\ntestcase\\test_admin_user2.py:22: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nresponse = &amp;lt;Response [200]&amp;gt;, status_code = 200, expect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    def assert_result(response, status_code, expect_msg):\n        &amp;quot;&amp;quot;&amp;quot;\u8f93\u5165\u54cd\u5e94,\u9884\u671f\u72b6\u6001\u7801,\u9884\u671f\u54cd\u5e94\u4fe1\u606f,\u65ad\u8a00\u662f\u5426\u7b26\u5408\u9884\u671f&amp;quot;&amp;quot;&amp;quot;\n        assert response.status_code == status_code\n&amp;gt;       assert response.text.__contains__(expect_msg)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nE       AssertionError\n\ntools\\request_utils.py:38: AssertionError\n\n----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:54.969 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u6797\u51b2&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;18944556125&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.054 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u5b8b\\u6c5f-18944556126-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u5b8b\\u6c5f-18944556126-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;, &#34;duration&#34;: &#34;94 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u5b8b\\u6c5f-18944556126-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;94 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;real_name = &amp;#x27;\u5b8b\u6c5f&amp;#x27;, phone = &amp;#x27;18944556126&amp;#x27;, pwd = &amp;#x27;111111&amp;#x27;, true_pwd = &amp;#x27;111111&amp;#x27;\nexpect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    @pytest.mark.parametrize(&amp;#x27;real_name,phone,pwd,true_pwd,expect_msg&amp;#x27;, read_csv(&amp;#x27;testdata/users.csv&amp;#x27;))\n    def test_add_user(real_name, phone, pwd, true_pwd, expect_msg):\n        # \u6784\u9020\u63a5\u53e3\u7684\u884c\u5934\u4f53\n        api = AddUser(real_name=real_name, phone=phone, pwd=pwd, true_pwd=true_pwd)\n        # \u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7ed3\u679c\n        response = execute_request(api)\n        print(response.text)\n        # \u5224\u65ad\u7528\u4f8b\u6267\u884c\u7ed3\u679c\n&amp;gt;       assert_result(response, 200, expect_msg)\n\ntestcase\\test_admin_user2.py:22: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nresponse = &amp;lt;Response [200]&amp;gt;, status_code = 200, expect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    def assert_result(response, status_code, expect_msg):\n        &amp;quot;&amp;quot;&amp;quot;\u8f93\u5165\u54cd\u5e94,\u9884\u671f\u72b6\u6001\u7801,\u9884\u671f\u54cd\u5e94\u4fe1\u606f,\u65ad\u8a00\u662f\u5426\u7b26\u5408\u9884\u671f&amp;quot;&amp;quot;&amp;quot;\n        assert response.status_code == status_code\n&amp;gt;       assert response.text.__contains__(expect_msg)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nE       AssertionError\n\ntools\\request_utils.py:38: AssertionError\n\n----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.059 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u5b8b\u6c5f&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;18944556126&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.151 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u5434\\u7528-18944556127-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u5434\\u7528-18944556127-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&#34;, &#34;duration&#34;: &#34;87 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u5434\\u7528-18944556127-111111-111111-\\u6dfb\\u52a0\\u6210\\u529f]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;87 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;real_name = &amp;#x27;\u5434\u7528&amp;#x27;, phone = &amp;#x27;18944556127&amp;#x27;, pwd = &amp;#x27;111111&amp;#x27;, true_pwd = &amp;#x27;111111&amp;#x27;\nexpect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    @pytest.mark.parametrize(&amp;#x27;real_name,phone,pwd,true_pwd,expect_msg&amp;#x27;, read_csv(&amp;#x27;testdata/users.csv&amp;#x27;))\n    def test_add_user(real_name, phone, pwd, true_pwd, expect_msg):\n        # \u6784\u9020\u63a5\u53e3\u7684\u884c\u5934\u4f53\n        api = AddUser(real_name=real_name, phone=phone, pwd=pwd, true_pwd=true_pwd)\n        # \u53d1\u9001\u8bf7\u6c42\u83b7\u53d6\u7ed3\u679c\n        response = execute_request(api)\n        print(response.text)\n        # \u5224\u65ad\u7528\u4f8b\u6267\u884c\u7ed3\u679c\n&amp;gt;       assert_result(response, 200, expect_msg)\n\ntestcase\\test_admin_user2.py:22: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nresponse = &amp;lt;Response [200]&amp;gt;, status_code = 200, expect_msg = &amp;#x27;\u6dfb\u52a0\u6210\u529f&amp;#x27;\n\n    def assert_result(response, status_code, expect_msg):\n        &amp;quot;&amp;quot;&amp;quot;\u8f93\u5165\u54cd\u5e94,\u9884\u671f\u72b6\u6001\u7801,\u9884\u671f\u54cd\u5e94\u4fe1\u606f,\u65ad\u8a00\u662f\u5426\u7b26\u5408\u9884\u671f&amp;quot;&amp;quot;&amp;quot;\n        assert response.status_code == status_code\n&amp;gt;       assert response.text.__contains__(expect_msg)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nE       AssertionError\n\ntools\\request_utils.py:38: AssertionError\n\n----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.156 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u5434\u7528&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;18944556127&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.242 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u624b\u673a\u53f7\u5df2\u7ecf\u5b58\u5728&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u9c81\\u667a\\u6df1--111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u9c81\\u667a\\u6df1--111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&#34;, &#34;duration&#34;: &#34;133 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u9c81\\u667a\\u6df1--111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;133 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u586b\u5199\u59d3\u540d\u548c\u7535\u8bdd&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.248 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u9c81\u667a\u6df1&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.379 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u586b\u5199\u59d3\u540d\u548c\u7535\u8bdd&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[-17544412154-111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[-17544412154-111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&#34;, &#34;duration&#34;: &#34;94 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[-17544412154-111111-111111-\\u8bf7\\u586b\\u5199\\u59d3\\u540d\\u548c\\u7535\\u8bdd]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;94 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u586b\u5199\u59d3\u540d\u548c\u7535\u8bdd&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.381 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;17544412154&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.473 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u586b\u5199\u59d3\u540d\u548c\u7535\u8bdd&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154--111111-\\u8bf7\\u8f93\\u5165\\u5bc6\\u7801]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154--111111-\\u8bf7\\u8f93\\u5165\\u5bc6\\u7801]&#34;, &#34;duration&#34;: &#34;109 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154--111111-\\u8bf7\\u8f93\\u5165\\u5bc6\\u7801]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;109 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u8f93\u5165\u5bc6\u7801&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.476 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u6797\u51b2&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;17544411154&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.583 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u8f93\u5165\u5bc6\u7801&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154-111111--\\u8bf7\\u8f93\\u5165\\u786e\\u8ba4\\u5bc6\\u7801]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154-111111--\\u8bf7\\u8f93\\u5165\\u786e\\u8ba4\\u5bc6\\u7801]&#34;, &#34;duration&#34;: &#34;123 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_add_user[\\u6797\\u51b2-17544411154-111111--\\u8bf7\\u8f93\\u5165\\u786e\\u8ba4\\u5bc6\\u7801]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;123 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n{&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u8f93\u5165\u786e\u8ba4\u5bc6\u7801&amp;quot;}\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.585 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:POST, url: http://172.31.15.134/adminapi/user/user, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;real_name&amp;#x27;: &amp;#x27;\u6797\u51b2&amp;#x27;, &amp;#x27;phone&amp;#x27;: &amp;#x27;17544411154&amp;#x27;, &amp;#x27;pwd&amp;#x27;: &amp;#x27;111111&amp;#x27;, &amp;#x27;true_pwd&amp;#x27;: &amp;#x27;&amp;#x27;, &amp;#x27;spread_open&amp;#x27;: 1, &amp;#x27;is_promoter&amp;#x27;: 1, &amp;#x27;status&amp;#x27;: 1}\n2025-06-22 11:27:55.707 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:400,&amp;quot;msg&amp;quot;:&amp;quot;\u8bf7\u8f93\u5165\u786e\u8ba4\u5bc6\u7801&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_search_user&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_search_user&#34;, &#34;duration&#34;: &#34;0 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_search_user&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;0 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;No log output captured.&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[8-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[8-1-20]&#34;, &#34;duration&#34;: &#34;176 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[8-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;176 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.710 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/8.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:55.884 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[9-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[9-1-20]&#34;, &#34;duration&#34;: &#34;127 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[9-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;127 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:55.886 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/9.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.012 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[10-1-2020]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[10-1-2020]&#34;, &#34;duration&#34;: &#34;168 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[10-1-2020]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;168 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.014 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/10.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;2020&amp;#x27;}\n2025-06-22 11:27:56.181 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[11-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[11-1-20]&#34;, &#34;duration&#34;: &#34;110 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[11-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;110 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.183 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/11.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.291 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[12-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[12-1-20]&#34;, &#34;duration&#34;: &#34;109 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[12-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;109 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.294 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/12.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.401 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[13-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[13-1-20]&#34;, &#34;duration&#34;: &#34;126 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[13-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;126 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.404 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/13.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.528 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money[14-1-20]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money[14-1-20]&#34;, &#34;duration&#34;: &#34;110 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money[14-1-20]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;110 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.530 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/14.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.638 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a0]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a0]&#34;, &#34;duration&#34;: &#34;114 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a0]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;114 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;8&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.640 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/8.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.752 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a1]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a1]&#34;, &#34;duration&#34;: &#34;132 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a1]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;132 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;9&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.755 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/9.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:56.885 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a2]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a2]&#34;, &#34;duration&#34;: &#34;123 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a2]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;123 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;10&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;2020&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:56.888 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/10.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;2020&amp;#x27;}\n2025-06-22 11:27:57.009 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a3]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a3]&#34;, &#34;duration&#34;: &#34;115 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a3]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;115 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;11&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:57.011 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/11.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:57.124 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a4]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a4]&#34;, &#34;duration&#34;: &#34;116 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a4]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;116 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;12&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:57.127 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/12.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:57.242 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a5]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a5]&#34;, &#34;duration&#34;: &#34;103 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a5]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;103 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;13&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:57.243 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/13.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:57.344 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}], &#34;testcase/test_admin_user2.py::test_change_user_money11[a6]&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;testcase/test_admin_user2.py::test_change_user_money11[a6]&#34;, &#34;duration&#34;: &#34;151 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;testcase/test_admin_user2.py::test_change_user_money11[a6]&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;151 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;----------------------------- Captured stdout call -----------------------------\n[&amp;#x27;14&amp;#x27;, &amp;#x27;1&amp;#x27;, &amp;#x27;20&amp;#x27;]\n\n----------------------------- Captured stderr call -----------------------------\n2025-06-22 11:27:57.347 | INFO     | tools.request_utils:execute_request:26 - \u53d1\u9001\u8bf7\u6c42: method:PUT, url: http://172.31.15.134/adminapi/user/update_other/14.html, headers: {&amp;#x27;Content-Type&amp;#x27;: &amp;#x27;application/json;charset=UTF-8&amp;#x27;, &amp;#x27;Authori-zation&amp;#x27;: &amp;#x27;Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwd2QiOiJjZmMxMTc5NDFiOGY1OTgwNDQxMTBhMGNmMTFlYzZkOCIsImlzcyI6IjE3Mi4zMS4xNS4xMzQiLCJhdWQiOiIxNzIuMzEuMTUuMTM0IiwiaWF0IjoxNzUwMjk2MDYzLCJuYmYiOjE3NTAyOTYwNjMsImV4cCI6MTc1Mjg4ODA2MywianRpIjp7ImlkIjoxLCJ0eXBlIjoiYWRtaW4ifX0.u8Y1E2agAHF-4HTPqw74mSOOVPjUCkft0UJmGpseuIg&amp;#x27;}, params: None, body: {&amp;#x27;money_status&amp;#x27;: &amp;#x27;1&amp;#x27;, &amp;#x27;money&amp;#x27;: &amp;#x27;20&amp;#x27;}\n2025-06-22 11:27:57.496 | INFO     | tools.request_utils:execute_request:30 - \u8fd4\u56de\u54cd\u5e94: HTTP\u72b6\u6001\u7801: 200, \u54cd\u5e94\u4fe1\u606f: {&amp;quot;status&amp;quot;:200,&amp;quot;msg&amp;quot;:&amp;quot;\u4fee\u6539\u6210\u529f&amp;quot;}\n&#34;}]}, &#34;renderCollapsed&#34;: [&#34;passed&#34;], &#34;initialSort&#34;: &#34;result&#34;, &#34;title&#34;: &#34;report2025_06_22_11_27_52.html&#34;}"></div>
    <script>
      (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
const { getCollapsedCategory, setCollapsedIds } = require('./storage.js')

class DataManager {
    setManager(data) {
        const collapsedCategories = [...getCollapsedCategory(data.renderCollapsed)]
        const collapsedIds = []
        const tests = Object.values(data.tests).flat().map((test, index) => {
            const collapsed = collapsedCategories.includes(test.result.toLowerCase())
            const id = `test_${index}`
            if (collapsed) {
                collapsedIds.push(id)
            }
            return {
                ...test,
                id,
                collapsed,
            }
        })
        const dataBlob = { ...data, tests }
        this.data = { ...dataBlob }
        this.renderData = { ...dataBlob }
        setCollapsedIds(collapsedIds)
    }

    get allData() {
        return { ...this.data }
    }

    resetRender() {
        this.renderData = { ...this.data }
    }

    setRender(data) {
        this.renderData.tests = [...data]
    }

    toggleCollapsedItem(id) {
        this.renderData.tests = this.renderData.tests.map((test) =>
            test.id === id ? { ...test, collapsed: !test.collapsed } : test,
        )
    }

    set allCollapsed(collapsed) {
        this.renderData = { ...this.renderData, tests: [...this.renderData.tests.map((test) => (
            { ...test, collapsed }
        ))] }
    }

    get testSubset() {
        return [...this.renderData.tests]
    }

    get environment() {
        return this.renderData.environment
    }

    get initialSort() {
        return this.data.initialSort
    }
}

module.exports = {
    manager: new DataManager(),
}

},{"./storage.js":8}],2:[function(require,module,exports){
const mediaViewer = require('./mediaviewer.js')
const templateEnvRow = document.getElementById('template_environment_row')
const templateResult = document.getElementById('template_results-table__tbody')

function htmlToElements(html) {
    const temp = document.createElement('template')
    temp.innerHTML = html
    return temp.content.childNodes
}

const find = (selector, elem) => {
    if (!elem) {
        elem = document
    }
    return elem.querySelector(selector)
}

const findAll = (selector, elem) => {
    if (!elem) {
        elem = document
    }
    return [...elem.querySelectorAll(selector)]
}

const dom = {
    getStaticRow: (key, value) => {
        const envRow = templateEnvRow.content.cloneNode(true)
        const isObj = typeof value === 'object' && value !== null
        const values = isObj ? Object.keys(value).map((k) => `${k}: ${value[k]}`) : null

        const valuesElement = htmlToElements(
            values ? `<ul>${values.map((val) => `<li>${val}</li>`).join('')}<ul>` : `<div>${value}</div>`)[0]
        const td = findAll('td', envRow)
        td[0].textContent = key
        td[1].appendChild(valuesElement)

        return envRow
    },
    getResultTBody: ({ testId, id, log, extras, resultsTableRow, tableHtml, result, collapsed }) => {
        const resultBody = templateResult.content.cloneNode(true)
        resultBody.querySelector('tbody').classList.add(result.toLowerCase())
        resultBody.querySelector('tbody').id = testId
        resultBody.querySelector('.collapsible').dataset.id = id

        resultsTableRow.forEach((html) => {
            const t = document.createElement('template')
            t.innerHTML = html
            resultBody.querySelector('.collapsible').appendChild(t.content)
        })

        if (log) {
            // Wrap lines starting with "E" with span.error to color those lines red
            const wrappedLog = log.replace(/^E.*$/gm, (match) => `<span class="error">${match}</span>`)
            resultBody.querySelector('.log').innerHTML = wrappedLog
        } else {
            resultBody.querySelector('.log').remove()
        }

        if (collapsed) {
            resultBody.querySelector('.collapsible > td')?.classList.add('collapsed')
            resultBody.querySelector('.extras-row').classList.add('hidden')
        } else {
            resultBody.querySelector('.collapsible > td')?.classList.remove('collapsed')
        }

        const media = []
        extras?.forEach(({ name, format_type, content }) => {
            if (['image', 'video'].includes(format_type)) {
                media.push({ path: content, name, format_type })
            }

            if (format_type === 'html') {
                resultBody.querySelector('.extraHTML').insertAdjacentHTML('beforeend', `<div>${content}</div>`)
            }
        })
        mediaViewer.setup(resultBody, media)

        // Add custom html from the pytest_html_results_table_html hook
        tableHtml?.forEach((item) => {
            resultBody.querySelector('td[class="extra"]').insertAdjacentHTML('beforeend', item)
        })

        return resultBody
    },
}

module.exports = {
    dom,
    htmlToElements,
    find,
    findAll,
}

},{"./mediaviewer.js":6}],3:[function(require,module,exports){
const { manager } = require('./datamanager.js')
const { doSort } = require('./sort.js')
const storageModule = require('./storage.js')

const getFilteredSubSet = (filter) =>
    manager.allData.tests.filter(({ result }) => filter.includes(result.toLowerCase()))

const doInitFilter = () => {
    const currentFilter = storageModule.getVisible()
    const filteredSubset = getFilteredSubSet(currentFilter)
    manager.setRender(filteredSubset)
}

const doFilter = (type, show) => {
    if (show) {
        storageModule.showCategory(type)
    } else {
        storageModule.hideCategory(type)
    }

    const currentFilter = storageModule.getVisible()
    const filteredSubset = getFilteredSubSet(currentFilter)
    manager.setRender(filteredSubset)

    const sortColumn = storageModule.getSort()
    doSort(sortColumn, true)
}

module.exports = {
    doFilter,
    doInitFilter,
}

},{"./datamanager.js":1,"./sort.js":7,"./storage.js":8}],4:[function(require,module,exports){
const { redraw, bindEvents, renderStatic } = require('./main.js')
const { doInitFilter } = require('./filter.js')
const { doInitSort } = require('./sort.js')
const { manager } = require('./datamanager.js')
const data = JSON.parse(document.getElementById('data-container').dataset.jsonblob)

function init() {
    manager.setManager(data)
    doInitFilter()
    doInitSort()
    renderStatic()
    redraw()
    bindEvents()
}

init()

},{"./datamanager.js":1,"./filter.js":3,"./main.js":5,"./sort.js":7}],5:[function(require,module,exports){
const { dom, find, findAll } = require('./dom.js')
const { manager } = require('./datamanager.js')
const { doSort } = require('./sort.js')
const { doFilter } = require('./filter.js')
const {
    getVisible,
    getCollapsedIds,
    setCollapsedIds,
    getSort,
    getSortDirection,
    possibleFilters,
} = require('./storage.js')

const removeChildren = (node) => {
    while (node.firstChild) {
        node.removeChild(node.firstChild)
    }
}

const renderStatic = () => {
    const renderEnvironmentTable = () => {
        const environment = manager.environment
        const rows = Object.keys(environment).map((key) => dom.getStaticRow(key, environment[key]))
        const table = document.getElementById('environment')
        removeChildren(table)
        rows.forEach((row) => table.appendChild(row))
    }
    renderEnvironmentTable()
}

const addItemToggleListener = (elem) => {
    elem.addEventListener('click', ({ target }) => {
        const id = target.parentElement.dataset.id
        manager.toggleCollapsedItem(id)

        const collapsedIds = getCollapsedIds()
        if (collapsedIds.includes(id)) {
            const updated = collapsedIds.filter((item) => item !== id)
            setCollapsedIds(updated)
        } else {
            collapsedIds.push(id)
            setCollapsedIds(collapsedIds)
        }
        redraw()
    })
}

const renderContent = (tests) => {
    const sortAttr = getSort(manager.initialSort)
    const sortAsc = JSON.parse(getSortDirection())
    const rows = tests.map(dom.getResultTBody)
    const table = document.getElementById('results-table')
    const tableHeader = document.getElementById('results-table-head')

    const newTable = document.createElement('table')
    newTable.id = 'results-table'

    // remove all sorting classes and set the relevant
    findAll('.sortable', tableHeader).forEach((elem) => elem.classList.remove('asc', 'desc'))
    tableHeader.querySelector(`.sortable[data-column-type="${sortAttr}"]`)?.classList.add(sortAsc ? 'desc' : 'asc')
    newTable.appendChild(tableHeader)

    if (!rows.length) {
        const emptyTable = document.getElementById('template_results-table__body--empty').content.cloneNode(true)
        newTable.appendChild(emptyTable)
    } else {
        rows.forEach((row) => {
            if (!!row) {
                findAll('.collapsible td:not(.col-links', row).forEach(addItemToggleListener)
                find('.logexpander', row).addEventListener('click',
                    (evt) => evt.target.parentNode.classList.toggle('expanded'),
                )
                newTable.appendChild(row)
            }
        })
    }

    table.replaceWith(newTable)
}

const renderDerived = () => {
    const currentFilter = getVisible()
    possibleFilters.forEach((result) => {
        const input = document.querySelector(`input[data-test-result="${result}"]`)
        input.checked = currentFilter.includes(result)
    })
}

const bindEvents = () => {
    const filterColumn = (evt) => {
        const { target: element } = evt
        const { testResult } = element.dataset

        doFilter(testResult, element.checked)
        const collapsedIds = getCollapsedIds()
        const updated = manager.renderData.tests.map((test) => {
            return {
                ...test,
                collapsed: collapsedIds.includes(test.id),
            }
        })
        manager.setRender(updated)
        redraw()
    }

    const header = document.getElementById('environment-header')
    header.addEventListener('click', () => {
        const table = document.getElementById('environment')
        table.classList.toggle('hidden')
        header.classList.toggle('collapsed')
    })

    findAll('input[name="filter_checkbox"]').forEach((elem) => {
        elem.addEventListener('click', filterColumn)
    })

    findAll('.sortable').forEach((elem) => {
        elem.addEventListener('click', (evt) => {
            const { target: element } = evt
            const { columnType } = element.dataset
            doSort(columnType)
            redraw()
        })
    })

    document.getElementById('show_all_details').addEventListener('click', () => {
        manager.allCollapsed = false
        setCollapsedIds([])
        redraw()
    })
    document.getElementById('hide_all_details').addEventListener('click', () => {
        manager.allCollapsed = true
        const allIds = manager.renderData.tests.map((test) => test.id)
        setCollapsedIds(allIds)
        redraw()
    })
}

const redraw = () => {
    const { testSubset } = manager

    renderContent(testSubset)
    renderDerived()
}

module.exports = {
    redraw,
    bindEvents,
    renderStatic,
}

},{"./datamanager.js":1,"./dom.js":2,"./filter.js":3,"./sort.js":7,"./storage.js":8}],6:[function(require,module,exports){
class MediaViewer {
    constructor(assets) {
        this.assets = assets
        this.index = 0
    }

    nextActive() {
        this.index = this.index === this.assets.length - 1 ? 0 : this.index + 1
        return [this.activeFile, this.index]
    }

    prevActive() {
        this.index = this.index === 0 ? this.assets.length - 1 : this.index -1
        return [this.activeFile, this.index]
    }

    get currentIndex() {
        return this.index
    }

    get activeFile() {
        return this.assets[this.index]
    }
}


const setup = (resultBody, assets) => {
    if (!assets.length) {
        resultBody.querySelector('.media').classList.add('hidden')
        return
    }

    const mediaViewer = new MediaViewer(assets)
    const container = resultBody.querySelector('.media-container')
    const leftArrow = resultBody.querySelector('.media-container__nav--left')
    const rightArrow = resultBody.querySelector('.media-container__nav--right')
    const mediaName = resultBody.querySelector('.media__name')
    const counter = resultBody.querySelector('.media__counter')
    const imageEl = resultBody.querySelector('img')
    const sourceEl = resultBody.querySelector('source')
    const videoEl = resultBody.querySelector('video')

    const setImg = (media, index) => {
        if (media?.format_type === 'image') {
            imageEl.src = media.path

            imageEl.classList.remove('hidden')
            videoEl.classList.add('hidden')
        } else if (media?.format_type === 'video') {
            sourceEl.src = media.path

            videoEl.classList.remove('hidden')
            imageEl.classList.add('hidden')
        }

        mediaName.innerText = media?.name
        counter.innerText = `${index + 1} / ${assets.length}`
    }
    setImg(mediaViewer.activeFile, mediaViewer.currentIndex)

    const moveLeft = () => {
        const [media, index] = mediaViewer.prevActive()
        setImg(media, index)
    }
    const doRight = () => {
        const [media, index] = mediaViewer.nextActive()
        setImg(media, index)
    }
    const openImg = () => {
        window.open(mediaViewer.activeFile.path, '_blank')
    }
    if (assets.length === 1) {
        container.classList.add('media-container--fullscreen')
    } else {
        leftArrow.addEventListener('click', moveLeft)
        rightArrow.addEventListener('click', doRight)
    }
    imageEl.addEventListener('click', openImg)
}

module.exports = {
    setup,
}

},{}],7:[function(require,module,exports){
const { manager } = require('./datamanager.js')
const storageModule = require('./storage.js')

const genericSort = (list, key, ascending, customOrder) => {
    let sorted
    if (customOrder) {
        sorted = list.sort((a, b) => {
            const aValue = a.result.toLowerCase()
            const bValue = b.result.toLowerCase()

            const aIndex = customOrder.findIndex((item) => item.toLowerCase() === aValue)
            const bIndex = customOrder.findIndex((item) => item.toLowerCase() === bValue)

            // Compare the indices to determine the sort order
            return aIndex - bIndex
        })
    } else {
        sorted = list.sort((a, b) => a[key] === b[key] ? 0 : a[key] > b[key] ? 1 : -1)
    }

    if (ascending) {
        sorted.reverse()
    }
    return sorted
}

const durationSort = (list, ascending) => {
    const parseDuration = (duration) => {
        if (duration.includes(':')) {
            // If it's in the format "HH:mm:ss"
            const [hours, minutes, seconds] = duration.split(':').map(Number)
            return (hours * 3600 + minutes * 60 + seconds) * 1000
        } else {
            // If it's in the format "nnn ms"
            return parseInt(duration)
        }
    }
    const sorted = list.sort((a, b) => parseDuration(a['duration']) - parseDuration(b['duration']))
    if (ascending) {
        sorted.reverse()
    }
    return sorted
}

const doInitSort = () => {
    const type = storageModule.getSort(manager.initialSort)
    const ascending = storageModule.getSortDirection()
    const list = manager.testSubset
    const initialOrder = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed', 'Skipped', 'Passed']

    storageModule.setSort(type)
    storageModule.setSortDirection(ascending)

    if (type?.toLowerCase() === 'original') {
        manager.setRender(list)
    } else {
        let sortedList
        switch (type) {
        case 'duration':
            sortedList = durationSort(list, ascending)
            break
        case 'result':
            sortedList = genericSort(list, type, ascending, initialOrder)
            break
        default:
            sortedList = genericSort(list, type, ascending)
            break
        }
        manager.setRender(sortedList)
    }
}

const doSort = (type, skipDirection) => {
    const newSortType = storageModule.getSort(manager.initialSort) !== type
    const currentAsc = storageModule.getSortDirection()
    let ascending
    if (skipDirection) {
        ascending = currentAsc
    } else {
        ascending = newSortType ? false : !currentAsc
    }
    storageModule.setSort(type)
    storageModule.setSortDirection(ascending)

    const list = manager.testSubset
    const sortedList = type === 'duration' ? durationSort(list, ascending) : genericSort(list, type, ascending)
    manager.setRender(sortedList)
}

module.exports = {
    doInitSort,
    doSort,
}

},{"./datamanager.js":1,"./storage.js":8}],8:[function(require,module,exports){
const possibleFilters = [
    'passed',
    'skipped',
    'failed',
    'error',
    'xfailed',
    'xpassed',
    'rerun',
]

const getVisible = () => {
    const url = new URL(window.location.href)
    const settings = new URLSearchParams(url.search).get('visible')
    const lower = (item) => {
        const lowerItem = item.toLowerCase()
        if (possibleFilters.includes(lowerItem)) {
            return lowerItem
        }
        return null
    }
    return settings === null ?
        possibleFilters :
        [...new Set(settings?.split(',').map(lower).filter((item) => item))]
}

const hideCategory = (categoryToHide) => {
    const url = new URL(window.location.href)
    const visibleParams = new URLSearchParams(url.search).get('visible')
    const currentVisible = visibleParams ? visibleParams.split(',') : [...possibleFilters]
    const settings = [...new Set(currentVisible)].filter((f) => f !== categoryToHide).join(',')

    url.searchParams.set('visible', settings)
    window.history.pushState({}, null, unescape(url.href))
}

const showCategory = (categoryToShow) => {
    if (typeof window === 'undefined') {
        return
    }
    const url = new URL(window.location.href)
    const currentVisible = new URLSearchParams(url.search).get('visible')?.split(',').filter(Boolean) ||
        [...possibleFilters]
    const settings = [...new Set([categoryToShow, ...currentVisible])]
    const noFilter = possibleFilters.length === settings.length || !settings.length

    noFilter ? url.searchParams.delete('visible') : url.searchParams.set('visible', settings.join(','))
    window.history.pushState({}, null, unescape(url.href))
}

const getSort = (initialSort) => {
    const url = new URL(window.location.href)
    let sort = new URLSearchParams(url.search).get('sort')
    if (!sort) {
        sort = initialSort || 'result'
    }
    return sort
}

const setSort = (type) => {
    const url = new URL(window.location.href)
    url.searchParams.set('sort', type)
    window.history.pushState({}, null, unescape(url.href))
}

const getCollapsedCategory = (renderCollapsed) => {
    let categories
    if (typeof window !== 'undefined') {
        const url = new URL(window.location.href)
        const collapsedItems = new URLSearchParams(url.search).get('collapsed')
        switch (true) {
        case !renderCollapsed && collapsedItems === null:
            categories = ['passed']
            break
        case collapsedItems?.length === 0 || /^["']{2}$/.test(collapsedItems):
            categories = []
            break
        case /^all$/.test(collapsedItems) || collapsedItems === null && /^all$/.test(renderCollapsed):
            categories = [...possibleFilters]
            break
        default:
            categories = collapsedItems?.split(',').map((item) => item.toLowerCase()) || renderCollapsed
            break
        }
    } else {
        categories = []
    }
    return categories
}

const getSortDirection = () => JSON.parse(sessionStorage.getItem('sortAsc')) || false
const setSortDirection = (ascending) => sessionStorage.setItem('sortAsc', ascending)

const getCollapsedIds = () => JSON.parse(sessionStorage.getItem('collapsedIds')) || []
const setCollapsedIds = (list) => sessionStorage.setItem('collapsedIds', JSON.stringify(list))

module.exports = {
    getVisible,
    hideCategory,
    showCategory,
    getCollapsedIds,
    setCollapsedIds,
    getSort,
    setSort,
    getSortDirection,
    setSortDirection,
    getCollapsedCategory,
    possibleFilters,
}

},{}]},{},[4]);
    </script>
  </footer>
</html>